home *** CD-ROM | disk | FTP | other *** search
/ PC World 2006 February / PCWorld_2006-02_cd.bin / software / topware / pspad / pspad450inst_cz.exe / {app} / Template / Delphi Object.pas < prev    next >
Pascal/Delphi Source File  |  2004-02-24  |  594b  |  38 lines

  1. { replace all occurence of "MyObject" with your object name }
  2. unit {Unit_name};
  3.  
  4. interface
  5.  
  6. uses
  7.   Windows, Messages, SysUtils, Classes;
  8.  
  9. type
  10.   TMyObject = class(TObject)
  11.   private
  12.     { Private declarations }
  13.   public
  14.     constructor Create;
  15.     destructor Destroy; override;
  16.     { Public declarations }
  17.   end;
  18.  
  19. var
  20.   MyObject: TMyObject;
  21.  
  22. implementation
  23.  
  24. { Object constructor }
  25. constructor TMyObject.Create;
  26. begin
  27.   inherited Create;
  28.   { enter your code here }
  29. end;
  30.  
  31. destructor TMyObject.Destroy;
  32. begin
  33.   { enter your code here }
  34.   inherited;
  35. end;
  36.  
  37. end.
  38.